package com.qingyun.edusysteam.mapper;

import com.qingyun.edusysteam.entity.Feedback;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingyun.edusysteam.vo.FeedbackVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课堂反馈 Mapper 接口
 * </p>
 *
 * @author your_name
 * @since 2025-08-23
 */
@Mapper
public interface FeedbackMapper extends BaseMapper<Feedback> {
    // 多表查询：仅返回简要信息用于 FeedbackVO
    List<FeedbackVO> briefList(@Param("studentId") Long studentId,
                               @Param("teacherId") Long teacherId,
                               @Param("date") String date);
}
